#ifndef TG_GMSSL_H_
#define TG_GMSSL_H_

#include <utility>
#include <string>

using namespace std;

pair<string, string> sm2_genKey();

string sm2_sign(const string& private_key, const string& plain_text, const string& id);

int sm2_verify(const string& public_key, const string& origin, const string& sig_base64_str, const string& id);

#endif